package com.dy.lock.screen.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.ShopTagDao;
import com.dy.lock.screen.pojo.ShopTagInfo;
import com.dy.lock.screen.service.ShopTagService;

@Service("shopTagService")
public class ShopTagServiceImpl implements ShopTagService {

	@Resource(name = "shopTagDao")
	private ShopTagDao shopTagDao;

	@Override
	public ShopTagInfo queryByPrimartKey(String id) {
		// TODO Auto-generated method stub
		return this.shopTagDao.queryByPrimartKey(id);
	}

	@Override
	public List<ShopTagInfo> queryPage(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.shopTagDao.queryT(map);
	}

	@Override
	public int update(ShopTagInfo shopTagInfo) {
		// TODO Auto-generated method stub
		return this.shopTagDao.update(shopTagInfo);
	}

}
